runtime.persistentAlloc.base (field)
7 uses
runtime (current package)
malloc.go#L2350: base *notInHeap
malloc.go#L2425: if persistent.off+size > persistentChunkSize || persistent.base == nil {
malloc.go#L2426: persistent.base = (*notInHeap)(sysAlloc(persistentChunkSize, &memstats.other_sys, "immortal metadata"))
malloc.go#L2427: if persistent.base == nil {
malloc.go#L2437: *(*uintptr)(unsafe.Pointer(persistent.base)) = chunks
malloc.go#L2438: if atomic.Casuintptr((*uintptr)(unsafe.Pointer(&persistentChunks)), chunks, uintptr(unsafe.Pointer(persistent.base))) {
malloc.go#L2444: p := persistent.base.add(persistent.off)
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |